<?php
/**
 * ExtTabCloseMenu class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtTabCloseMenu extends ExtTabCloseMenuBase
{
    /**
     * Gets the value of ExtJS closeAllTabsText property
     * @return String 
     */
    public function getCloseAllTabsText()
    {
    	return $this->getConfig("closealltabstext");
    }

    /**
     * Sets the value of ExtJS closeAllTabsText property
     * @param String $value 
     */
    public function setCloseAllTabsText($value)
    {
    	$this->setConfig("closealltabstext",$value);
    }

    /**
     * Gets the value of ExtJS closeOtherTabsText property
     * @return String 
     */
    public function getCloseOtherTabsText()
    {
    	return $this->getConfig("closeothertabstext");
    }

    /**
     * Sets the value of ExtJS closeOtherTabsText property
     * @param String $value 
     */
    public function setCloseOtherTabsText($value)
    {
    	$this->setConfig("closeothertabstext",$value);
    }

    /**
     * Gets the value of ExtJS closeTabText property
     * @return String 
     */
    public function getCloseTabText()
    {
    	return $this->getConfig("closetabtext");
    }

    /**
     * Sets the value of ExtJS closeTabText property
     * @param String $value 
     */
    public function setCloseTabText($value)
    {
    	$this->setConfig("closetabtext",$value);
    }

    /**
     * Gets the value of ExtJS showCloseAll property
     * @return Boolean 
     */
    public function getShowCloseAll()
    {
    	return $this->getConfig("showcloseall");
    }

    /**
     * Sets the value of ExtJS showCloseAll property
     * @param Boolean $value 
     */
    public function setShowCloseAll($value)
    {
    	$this->setConfig("showcloseall",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'closealltabstext' => 'closeAllTabsText',
            'closeothertabstext' => 'closeOtherTabsText',
            'closetabtext' => 'closeTabText',
            'showcloseall' => 'showCloseAll'
        ));



        $this->setXType('tabclosemenu');
        $this->setXClass('Ext.ux.TabCloseMenu');
    }    
}
?>